using System;

namespace Module.Core.EntitiesInfo
{

	[Serializable]
	public class ProductOrderInfo_giohang
	{

        #region Fields

        private int orderId;
        private int memberId;
        private DateTime orderDate;
        private DateTime createdDate;
        private decimal totalPrice;
        private string notes;
        private int status;
        private float dealx;



        #endregion

        #region Constructors

        /// <summary>
        /// Initializes a new instance of the ProductOrderInfoBase class.
        /// </summary>
        public ProductOrderInfo_giohang()
        {
        }

        /// <summary>
        /// Initializes a new instance of the ProductOrderInfoBase class.
        /// </summary>
        public ProductOrderInfo_giohang(int memberId, DateTime orderDate, DateTime createdDate, decimal totalPrice, string notes, int status, float dealxu)
        {
            this.dealx = dealxu;
            this.memberId = memberId;
            this.orderDate = orderDate;
            this.createdDate = createdDate;
            this.totalPrice = totalPrice;
            this.notes = notes;
            this.status = status;
        }

        /// <summary>
        /// Initializes a new instance of the ProductOrderInfoBase class.
        /// </summary>
        public ProductOrderInfo_giohang(int orderId, int memberId, DateTime orderDate, DateTime createdDate, decimal totalPrice, string notes, int status)
        {
            this.orderId = orderId;
            this.memberId = memberId;
            this.orderDate = orderDate;
            this.createdDate = createdDate;
            this.totalPrice = totalPrice;
            this.notes = notes;
            this.status = status;
        }

        #endregion

        #region Properties
        /// <summary>
        /// Gets or sets the OrderId value.
        /// </summary>
        ///   
        public float Dealx
        {
            get { return dealx; }
            set { dealx = value; }
        }
        public int OrderId
        {
            get { return orderId; }
            set { orderId = value; }
        }

        /// <summary>
        /// Gets or sets the MemberId value.
        /// </summary>
        public int MemberId
        {
            get { return memberId; }
            set { memberId = value; }
        }

        /// <summary>
        /// Gets or sets the OrderDate value.
        /// </summary>
        public DateTime OrderDate
        {
            get { return orderDate; }
            set { orderDate = value; }
        }

        /// <summary>
        /// Gets or sets the CreatedDate value.
        /// </summary>
        public DateTime CreatedDate
        {
            get { return createdDate; }
            set { createdDate = value; }
        }

        /// <summary>
        /// Gets or sets the TotalPrice value.
        /// </summary>
        public decimal TotalPrice
        {
            get { return totalPrice; }
            set { totalPrice = value; }
        }

        /// <summary>
        /// Gets or sets the Notes value.
        /// </summary>
        public string Notes
        {
            get { return notes; }
            set { notes = value; }
        }

        /// <summary>
        /// Gets or sets the Status value.
        /// </summary>
        public int Status
        {
            get { return status; }
            set { status = value; }
        }

        #endregion
	}
}
